crypto/ecdh.PublicKey.publicKey (field)
13 uses
crypto/ecdh (current package)
ecdh.go#L70: publicKey []byte
ecdh.go#L79: return append(buf[:0], k.publicKey...)
ecdh.go#L95: subtle.ConstantTimeCompare(k.publicKey, xx.publicKey) == 1
ecdh.go#L174: publicKey: kpub.Bytes(),
nist.go#L125: publicKey: publicKey,
nist.go#L174: publicKey: append([]byte{}, key...),
nist.go#L177: bk, err := boring.NewPublicKeyECDH(c.name, k.publicKey)
nist.go#L204: p, err := c.newPoint().SetBytes(remote.publicKey)
x25519.go#L60: publicKey: make([]byte, x25519PublicKeySize),
x25519.go#L63: x25519ScalarMult(k.publicKey, key.privateKey, x25519Basepoint[:])
x25519.go#L73: publicKey: append([]byte{}, key...),
x25519.go#L79: x25519ScalarMult(out, local.privateKey, remote.publicKey)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |